import java.util.Scanner;

public class Max {
    public static void main(String[] args) {
        Scanner cin = new Scanner(System.in);
        int num1 = cin.nextInt();
        int num2 = cin.nextInt();
        int num3 = cin.nextInt();
        int maximum = num1 > num2 ? num1 : num2;
        maximum = maximum > num3 ? maximum : num3;
        System.out.println(maximum);
    }
}
